package com.ruoyi.core.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 轮播图列表对象 user_banner
 * 
 * @author lgc
 * @date 2020-08-17
 */
public class UserBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long bannerId;

    /** 用户ID */
    private Long userId;

    /** 图片url */
    @Excel(name = "图片url")
    private String bannerUrl;

    /** 轮播图顺序 */
    @Excel(name = "轮播图顺序")
    private Long bannerSequence;

    /** 状态 0 删除 1可用 */
    @Excel(name = "状态 0 删除 1可用")
    private Long bannerStatus;

    private Long createdBy;
    private Date createdDate;


    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public void setBannerId(Long bannerId)
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId() 
    {
        return bannerId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBannerUrl(String bannerUrl) 
    {
        this.bannerUrl = bannerUrl;
    }

    public String getBannerUrl() 
    {
        return bannerUrl;
    }
    public void setBannerSequence(Long bannerSequence) 
    {
        this.bannerSequence = bannerSequence;
    }

    public Long getBannerSequence() 
    {
        return bannerSequence;
    }
    public void setBannerStatus(Long bannerStatus) 
    {
        this.bannerStatus = bannerStatus;
    }

    public Long getBannerStatus() 
    {
        return bannerStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("userId", getUserId())
            .append("bannerUrl", getBannerUrl())
            .append("bannerSequence", getBannerSequence())
            .append("bannerStatus", getBannerStatus())
            .toString();
    }
}
